<!-- 双向绑定 -->
<template>
<u-linear-layout direction="vertical" gap="small">
    <m-multiplex v-model="values">
        <m-multiplex-item value="cup" text="水杯"></m-multiplex-item>
        <m-multiplex-item value="coffee" text="咖啡"></m-multiplex-item>
        <m-multiplex-item value="nut" text="坚果"></m-multiplex-item>
        <m-multiplex-item value="towel" text="毛巾"></m-multiplex-item>
        <m-multiplex-item value="sofa" text="沙发"></m-multiplex-item>
    </m-multiplex>
    <m-multiplex :value.sync="values">
        <m-multiplex-item value="cup" text="水杯"></m-multiplex-item>
        <m-multiplex-item value="coffee" text="咖啡"></m-multiplex-item>
        <m-multiplex-item value="nut" text="坚果"></m-multiplex-item>
        <m-multiplex-item value="towel" text="毛巾"></m-multiplex-item>
        <m-multiplex-item value="sofa" text="沙发"></m-multiplex-item>
    </m-multiplex>
</u-linear-layout>
</template>
<script>
export default {
    data() {
        return {
            values: ['nut', 'towel'],
        };
    },
};
</script>